package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.dto.UserAddEvaluationRecordDTO;
import com.example.entity.dto.UserGetParticipationRecordsDTO;
import com.example.entity.po.AuditRecord;
import com.example.entity.vo.UserAuditRecordVO;

import java.util.List;

/**
 * @author Zeran2023
 * @description 针对表【t_audit_record】的数据库操作Service
 * @createDate 2024-12-24 15:29:00
 */
public interface AuditRecordService extends IService<AuditRecord> {

	/**
	 * 根据自定义条件获取用户参与记录
	 *
	 * @param userGetParticipationRecordsDTO 自定义条件
	 * @return List<UserAuditRecordVO>
	 */
	List<UserAuditRecordVO> getParticipationRecords(UserGetParticipationRecordsDTO userGetParticipationRecordsDTO);

	/**
	 * 添加评价记录
	 *
	 * @param userAddEvaluationRecordDTO 评价记录
	 */
	void addEvaluationRecordsSubmittedByUser(UserAddEvaluationRecordDTO userAddEvaluationRecordDTO,String token);
}
